export default {
	assetTypeStatus(val){
		switch(Number(val)){
			case 1:
				return "股票 ";
				break;
			case 2:
				return "期权";
				break;
			case 3:
				return "股指数";
				break;
			case 4:
				return "外汇";
				break;
			case 5:
				return "数字货币";
				break;
			case 6:
				return "固收基金";
				break;
			default:
			    return '全部';
			    break
		}
	},
	
	
	
	tradeFilter(val){
		switch(Number(val)){
			case 1:
				return "Purchase";
				break;
			case 2:
				return "Redeem";
				break;
			case 3:
				return "Dividend";
				break;
			default:
			    return '';
			    break
		}
	},
	
	withdrawStatus(val){
		switch(Number(val)){
			case 1:
				return "In Process";
				break;
			case 5:
				return "In Transfer";
				break;
			case 6:
				return "Success";
				break;
			case 7:
				return "Rejected";
				break;
			case 8:
				return "Failed";
				break;
			default:
				return '';
				break
		}
	},
	
	rechargeStatus(val){
		switch(Number(val)){
			case 1:
				return "Pending";
				break;
			case 2:
				return "Confirming";
				break;
			case 3:
				return "Partially Paid";
				break;
			case 4:
				return "Completed";
				break;
			case 5:
				return "Failed";
				break;
			case 6:
				return "Timed Out";
				break;
			default:
				return '';
				break
		}
	},
	
	transacitionStatus(val){
		switch(Number(val)){
			case 1:
				return "Top Up";
				break;
			case 2:
				return "Withdrawal";
				break;
			case 3:
				return "Purchase";
				break;
			case 4:
				return "Settlement";
				break;
			case 7:
				return "Bonus";
				break;
			case 8:
				return "Purchase";
				break;
			case 9:
				return "Redemption";
				break;
			case 10:
				return "Dividend";
				break;
			case 11:
				return "Experience Funds";
				break;
			default:
				return '';
				break
		}
	},
};
